provider Teams PUT
/api/0/organizations/{organization_id_or_slug}/members/{member_id}/teams/{team_id_or_slug}/ @utdk/sentry
/api/0/organizations/{organization_id_or_slug}/members/{member_id}/teams/{team_id_or_slug}/ Update an Organization Member's Team Role
The relevant organization member must already be a part of the team.
Note that for organization admins, managers, and owners, they are
automatically granted a minimum team role of `admin` on all teams they
are part of. Read more about [team roles](https://docs.sentry.io/product/teams/roles/).
- organization_id_or_slug path required
- The ID or slug of the organization the resource belongs to.
- string
- member_id path required
- The ID of the organization member to change
- string
- team_id_or_slug path required
- The ID or slug of the team the resource belongs to.
- string
Try it
Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sentry from '@utdk/sentry';
await sentry.updateAnOrganizationMemberSTeamRole({
"teamRole": "contributor"
})